using HBFramework;
using System.Collections.Generic;
using UnityEngine;

public class GMCommands
{
    [GM("Common", "AddRes", "AddRes 1001 100")]
    public void Test(List<string> args)
    {
        int id = int.Parse(args[0]);
        int count = int.Parse(args[1]);
        Debug.Log($"Add Res {id} {count}");
    }

    [GM("Common", "CloseGM", "CloseGM")]
    public void Test1(List<string> args)
    {
        PanelManager.Instance.ClosePanel<Panel_GM>();
    }

    [GM("Test", "Test1", "Test1 test")]
    public void Test2(List<string> args)
    {
        Debug.LogError(args[0]);
    }
}
